package com.instasale.services;

import com.instasale.models.Car;
import com.instasale.models.Seller;

import java.util.List;

public interface CarService {
    public void addCar(Car car);

    public List<Car> listCar();

    public List<Car> listCar(String orderByColumnName);

    public void removeCar(Integer id);

    public Car getById(Integer id);

    public boolean isColumnExists(String columnName);
}
